package HibernateFacet;

import java.sql.Timestamp;

/**
 * Warning entity. @author MyEclipse Persistence Tools
 */

public class Warning implements java.io.Serializable {

	// Fields

	private Integer id;
	private DeviceInformation deviceInformation;
	private Integer type;
	private Timestamp dateTime;

	// Constructors

	/** default constructor */
	public Warning() {
	}

	/** full constructor */
	public Warning(DeviceInformation deviceInformation, Integer type, Timestamp dateTime) {
		this.deviceInformation = deviceInformation;
		this.type = type;
		this.dateTime = dateTime;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public DeviceInformation getDeviceInformation() {
		return this.deviceInformation;
	}

	public void setDeviceInformation(DeviceInformation deviceInformation) {
		this.deviceInformation = deviceInformation;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Timestamp getDateTime() {
		return this.dateTime;
	}

	public void setDateTime(Timestamp dateTime) {
		this.dateTime = dateTime;
	}

}